# 商品计算价格程序

cp=(("悠哉悠哉",18),("人间烟火",17),("蔓越阑珊",17),("抹茶葡提",16),("幽兰拿铁",16),("  翠翠  ",13),("浮生半日",15),("筝筝纸鸢",16),("声声乌龙",15),("风栖绿桂",12),("素颜锡兰",13),("烟火易冷",15))
index = 1
for detail in cp:
    print("{:2d}{}{}".format(index, detail[0], detail[1]))
    index += 1
sum = 0
index = eval(input("请选择饮品"))
while index != 0:
    quantity = eval(input("请输入数量"))
    sum += cp[index - 1][1] * quantity
    index = eval(input("请选择饮品"))
print("应付{}元".format(sum))